/*
 * @Author: 汪军 624473119@qq.com
 * @Date: 2023-10-22 14:16:14
 * @LastEditors: 汪军 624473119@qq.com
 * @LastEditTime: 2023-11-14 10:35:10
 * @FilePath: \app-formwork\src\config\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

export const loginApi = {

  // 登录
  login: (params) => request.post("/index/login_password", params),
  //注册
  register: (params) => request.post("/index/register", params),
  //退出登录
  loginout: (params) => request.post("/index/logout", params),
  //用户协议
  useragreement: (params) => request.post("/index/user_agreement", params),
  //隐私协议
  userprivacy: (params) => request.post("/index/user_privacy", params),
  // app版本更新
  updateApp: params => request.get('/index/getVersion', params),

};
